package com.tiankun.eurekauserinfo.config;

import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA
 * User: bear
 * Date: 2020/11/14
 * Description
 * Version: V1.0
 */
@Configuration
public class PayConfig implements Serializable {

    // 这个是支付完成后的跳转路径 可以是一个页面地址等
    public static String returnUrl = "http://localhost:8766/pay/find";
    //服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    // 这个是支付成功失败以后的通知接口会返回相应的参数
    public static String notifyUrl = "http://3111h4q179.zicp.vip/cms/alipay/notify";


    /**
     * 支付宝网管
     */
    public static String URL = "https://openapi.alipaydev.com/gateway.do";
    public static String APP_ID = "2016110100782709";
    public static String SHOP_ID = "2088102181556225";
    public static String APP_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCaJ/0eLba3Dh+UPtKNWDGa1oKJMRnZCs1KN9JarVP6vDDyRBngEOU82RFXwWlIiJE9fCpcrqKD2463DAXjOb0ADLIDPVSWh+XdpdLdpxj3fiByZVC7aX4ReWnWcD9soygKwy+QdQ8ml8GyBizT3czQ4ie0zb6rZzYKKivGGeDbdt+o2BnjBbWFfOwJA6kqQmbpxW080L2oQI1bPs+7/x7gJ6Z0IsrPlQebECqlvXO+ne+FajSqS3xZtbkOgEoI+UgDefW+MqbIIr0P+z8jrovPefH3GBs7S7o120p2+G6dqeYYQt79s4rNycsPoak0q4RqcquAwb/Aglcdw5olVtV5AgMBAAECggEAekxJUlzf/SAWS4z/i6UxTW7rBp5OrFMWhM/+cXPbESumBT2j7ZBZ3Uk0qhNGTIYT+9x62yasxcE02uGN9jQDTnvD6jAI4JeV9J8uyCxd8VM9uKPKRbSukHxrS/WnS6+w/8DUBl3oFC0HPQ4LGFZ5vCn/aEBmCSOLysqkCbjUHCdQtdwxWVgTYeUYIAW8JXCX311Lk91pnfRcA74u6WMdalZ6fEFFjNXFaA2JDc6le3xA0gGL1yQJPGFxSL04n7uyCIXnipLzuFFR/3E6jzetfjc84m726/3vhinAdKvfnzpYH0vKi6sVuKxKeLJzCky1MjZJm+gnsAW7WaWhD2zSEQKBgQD/DSuKu2viO9FpAiQERj88ZwDoimQHQg9Os/dLc1SpWbmnSFm149dUbCVC0/opOWyIMrqSV0bWQxvJM/jdX5JQyzxIoPAMkwq8+Li9YgJEzPxOb6wAnRufm3wbL6Wj736j3u4uw9sLE+1Ha3eYm9aZ2455y2MTrU67mTQony/4dQKBgQCausITLV1PGu51tmVRYNXbNE/cR5gluR9+q+CNnc/cXDB+xWSAIoBTB0bgJD8vjCG/4U4o2Oo55FimWKIiSzWhh+C3OGrGEljCwIgsP6kSzciRWOTIeHA0G4Uoj3+25/bI4A8VDpUmbON0u3Q4+lKvkTaHovnTfRltFwqr3DgodQKBgHhb77NNVNDzJ5RlVTfLKqZHeW9Dd4bRTsX2OXoal9Y/KFRf2S3zsjb9veu2evQfTC9NuSu8EgqkqqUdaJCXPEXyUqV3hTB553Rb71o3uRhcn6goHMRBX7rHNh7iMkmViG6ukjnxZRnqMmwks9CJohEDQk4Jg9zSSThQSQPuc0XNAoGARJaCzzNtyFIc4Gsw8Gjng5rlx7So2hf8wQ75pG0PJhRrntZrXW1tyuBP563JoI8Sqtb56Zt2AKGbNmnVvTPvmyH7V9yXYCPj2riz5EF39hDoVp28FK1mt4J3fWpW58Jdn9/Kb8AeF4FvNmCd/V/hZVgOfwOckMZEjhoHrfUZo70CgYEA3F+h+guMhpOkDtoiBhm3B5hdMN+yCYUqb2h+b1jiVf/ya7NuMrORO/u6ZnDaCvUthY3wX0W9zNAoiH2rmYb+azHNP2UrWX+4aTsb9wLsiROJ5ZvccU832N8za9w5NAGcVXfapjQJyX1pi6VVmKeFrZP6KwossvNbm0SoIQ0Dwgg=";
    public static String FORMAT = "json";
    public static String CHARSET = "UTF-8";
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8/MQbkzJUhKyt2EWHi61Jd6g+jX1iBGWueAsj2OD/0UFw898Ig7ngOz0qk7CMbysKbbhkx4WzJZrW8yV4U6XdCgArDcDO5nU9//z3Mioq72sT/twyr2WXnd3N88YxWyi0u5t1V2VB6TG9Jwqk+Ku+AWym1H1he58T/pDuRt2sA3cmXkYAcK48dCS7SxJm+E8BsNscIp80sdkc4q9Q/4PfyLZ17OXQe3fop3Oe6BtDStg/hxYzDRsf5vE2g2GwvFTqZG/QwAqrcEzEbS3bv4GUPD2NpOTabMsFxB+mWCaMiw59U1sZqlcGLu+BaAi5xCrJMpvF/J8Lga5E8mEPQ8bQIDAQAB";
    /**商户生成签名字符串所使用的签名算法类型，目前支持RSA2和RSA，推荐使用RSA2*/
    public static String SIGN_TYPE = "RSA2";
}
